package cn.wolfcode.shopservergoods;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//扫描mybatis接口的注解
@MapperScan("cn.wolfcode.shopservergoods.shop.server.mapper")
//开启事务管理
@EnableTransactionManagement
public class ShopServerGoodsApplication {

	public static void main(String[] args) {
		SpringApplication.run(ShopServerGoodsApplication.class, args);
	}
}

